# -*- coding: utf-8 -*-

from odoo import api, fields, tools, models, _


class ProjectCost(models.Model):
    _name = "project.cost"

    project_id = fields.Many2one('project.project', string='所属项目')
    cost_id = fields.Many2one('cost.category', string='费用类别')
    total = fields.Float(string="费用总金额")
    memo = fields.Text(string='备注')